/*
 * @Author: shawnXiao
 * @Date: 2021-12-26 20:12:59
 * @LastEditTime: 2022-01-05 11:25:39
 * @FilePath: /vite2-vue3-typescript/postcss.config.js
 */
module.exports = {
  plugins: [
    require('autoprefixer')({ overrideBrowserslist: ['> 0.15% in CN'] }), // 自动添加css前缀
    // require('postcss-px-to-viewport')({
    //   unitToConvert: 'px',
    //   viewportWidth: 375,
    //   unitPrecision: 5,
    //   propList: ['*'],
    //   viewportUnit: 'vw',
    //   fontViewportUnit: 'vw',
    //   selectorBlackList: [],
    //   minPixelValue: 1,
    //   mediaQuery: false,
    //   replace: true,
    //   exclude: [/\/node_modules\//, /\/src\/components\//, /\/src\/views\//, /\/src\/views\/PC\//],
    //   include: [/\/src\/mobileComponents\//, /\/src\/views\/PC\//],
    //   landscape: false,
    //   landscapeUnit: 'vw',
    //   landscapeWidth: 667,
    // }),
  ],
}
